forum

home / developersection / forums / how to enable selection for a gridview that assigns the datasource in the code behind class?

How to enable Selection for a GridView that assigns the DataSource in the code behind class?

Manoj Bhatt 2360 02-Sep-2014

when I create a GridView and I choose a DataSource in the GUI. However, I am binding the DataSource in the code behind class.

I added SelectMethod="GetCustomers" to my GridView control and an empty GetCustomers() method to my code behind class but I don't see a "Select" link appear in my GridView.

How can I enable "Selection" for my GridView if the DataSource is being bound in the code behind?



Updated on 02-Sep-2014
Manoj Bhatt

Other


Message
Can you answer this question?

Answer

1 Answers

Liked By